package com.qwe.graduation.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lzf
 * @date 2023/1/17 22:41
 * @description VideoVo
 */
@Data
public class VideoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("视频id")
    private Integer id;

    @ApiModelProperty("标题")
    private String headline;

    @ApiModelProperty("视频地址")
    private String videoSite;

    @JsonFormat( timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @JsonFormat( timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("修改人")
    private String updateBy;

    @ApiModelProperty("资讯归属（0为粤语，1为壮语，2为闽南语）")
    private String module;

}
